package cn.io0288.blog2.model;

import java.sql.ResultSet;
import java.sql.SQLException;

public class Log {
    public int lid;
    public int cid;
    public int uid;
    public String operate;
    public String atitle;
    public String date;
    public String text;

    public Log(ResultSet rs) throws SQLException {
        this.lid = rs.getInt("lid");
        this.cid = rs.getInt("cid");
        this.uid = rs.getInt("uid");
        this.operate = rs.getString("operate");
        this.atitle = rs.getString("atitle");
        this.date = rs.getString("date");
        this.text = rs.getString("text");

    }
}
